/**
 *	PEERCACHE.H - manages the peer ip address cache
 *	Author: Fabio Garcia <fabio@blastpress.com>
 **/

#ifndef UPN_PEERCACHE_H
#define UPN_PEERCACHE_H

#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>

/** variables and such **/
#define CACHE_SIZE (2048)

/** function prototypes **/

int add_peer(char *addr);
int remove_peer(char *addr);
in_addr_t *get_peers();

#endif
